package org.naxx.security.api;

import org.naxx.security.model.request.Request;

/**
 * Handles runtime XACML requests.<p>
 */
public interface NaxxServerManager {
	
	/**
	 * Tells manager to scan his root folder for
	 * new folder named as specified parameter and
	 * to load naxxlet definition from it.
	 */
	public void deployNaxxlet(String naxxletName) throws Exception;
	
	/**
	 * Runs client request against policies currently
	 * deployed into Naxx.
	 */
	public void evaluate(Request request);
}
